<!--
 /**
 * Author: hongChengHao
 * Date: 2022-07-22 14:37
 * Desc: 白块
 */
-->
<template>
  <view
    class="zm-box"
    :style="'width: ' + width + 'upx;padding:' + padding + ';'"
  >
    <slot></slot>
  </view>
</template>
<script>
  export default {
    name: 'ZmBox',
    props: {
      width: {
        type: String,
        default: '710'
      },
      padding: {
        type: String,
        default: '40upx 30upx'
      }
    },
    data() {
      return {}
    },
    methods: {}
  }
</script>
<style lang="scss" scoped>
  .zm-box {
    box-sizing: border-box;
    width: 710upx;
    padding: 40upx 30upx;
    background: #fff;
    border-radius: 18upx;
  }
</style>
